package com.yugao.fintech.antelope.infra.weixin.mp.service.impl;

import com.yugao.fintech.antelope.infra.weixin.mp.handler.WxMpHandler;
import com.yugao.fintech.antelope.infra.weixin.mp.model.WxMpContext;
import com.yugao.fintech.antelope.infra.weixin.mp.service.MpDraftService;
import me.chanjar.weixin.mp.api.WxMpDraftService;
import me.chanjar.weixin.mp.bean.draft.WxMpAddDraft;
import org.springframework.stereotype.Service;


@Service
public class MpDraftServiceImpl implements MpDraftService {
    @Autowired
    private WxMpHandler wxMpHandler;
    @Override
    public void saveDraft(WxMpAddDraft req) {
        WxMpContext context = wxMpHandler.getContext();
        WxMpDraftService draftService = context.getService().getDraftService();

    }
}
